package com.future.strategy;

import java.util.Arrays;

public class Test {

    public static void main(String[] args) {
        User[] users = new User[]{new User(1, "wrb", 175),
                new User(2, "wry", 180),
                new User(3, "wrg", 160)};
        Sorter<User> sorter = new Sorter<>();
        sorter.selectSort(users, new UserComparetor());
        System.out.println(Arrays.toString(users));
    }
}
